<template>
	<view class="addTeamhistory">
		<template v-if="list.length !=0">
			<view v-for="(item,index) in list" class="box" :key="item.projectId" @click="edit(item)">
				<view class="left">
					<view class="top f18 overflow-ellipsis">{{item.projectName}}</view>
					<view class="f14" style="color: #58aeef;" v-if="Number(item.day) <0"><text
							style="color: red;">报名已截止</text>
					</view>
					<view class="f14" style="color: #58aeef;" v-else>报名截止剩<text style="color: red;">{{item.day}}</text>天
					</view>

					<view class="middle f14">举行时间({{item.startTime}})</view>
				</view>
				<view class="right">

					<view class="tag-view">
						<view class="mjcTag" :key="tag" v-for="tag in item.tags || item.tagList">{{tag}}</view>
					</view>

				</view>
				<view class="rightTag shuipingchuizhi">
					<view class="statu1 w100" v-show="item.status===1">
						<text>已审核</text>
					</view>
					<view class="statu2 w100" v-show="item.status===0">
						<text>已驳回</text>
					</view>
					<view class="statu3 w100" v-show="item.status===null">
						<text>未审核</text>
					</view>
				</view>

			</view>
		</template>
		<template v-else>
			<notFoundData />
		</template>
	</view>
</template>

<script>
	import notFoundData from '@/components/notFoundData/index.vue'
	import * as utils from '@/utils/index.js'
	export default {
		data() {
			return {
				list: []
			}
		},
		methods: {

		},

	}
</script>

<style lang="less" scoped>
	.addTeamhistory {
		padding: 0 15rpx;
		background-color: #fdfdfd;
		padding-bottom: 20rpx;
	}
</style>
